package com.ivan.ossservice;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;

/**
 * @Author Ivan
 * @Description 主启动类
 * @Date 2020/8/7 22:49
 */
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)//本服务不需要数据库配置信息,不排除启动会报错
@ComponentScan(basePackages = {"com.ivan"})
public class OssApplication {

    public static void main(String[] args) {
        SpringApplication.run(OssApplication.class, args);
    }
}
